package com.rd.student.jike.class4.xiayinyin.day0801;

import java.util.Arrays;

public class Exercises01 {
    public static void main(String[] args) {
        int[] arr = {1,3,5,7,9,11,13,15,17,0};
        int[] arr1 = {1,3,5,7,9,11,13,15,17,0};
        int count = 0;
        for (int i = 0; i < arr.length; i++) {
            arr[i] =  arr1[count];
            count++;
            if (arr[i] == 9){
                i++;
                arr[i] = 10;
            }
        }
        System.out.println(Arrays.toString(arr));
    }
}
